package com.qiyeji.real_estate.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;

@ContentRowHeight(20) // 设置内容高度
@HeadRowHeight(50)// 设置表头高度
public class payrollKey {

    @ExcelProperty(value = {"日期"}, index = 0)
    @ColumnWidth(20)// 设置行宽
    private String date;

    @ExcelProperty(value = {"员工编号"}, index = 1)
    @ColumnWidth(20)// 设置行宽
    private String scode;

    public payrollKey(String date, String scode) {
        this.date = date;
        this.scode = scode;
    }

    public payrollKey() {
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getScode() {
        return scode;
    }

    public void setScode(String scode) {
        this.scode = scode == null ? null : scode.trim();
    }

    @Override
    public String toString() {
        return "payrollKey{" +
                "date='" + date + '\'' +
                ", scode='" + scode + '\'' +
                '}';
    }
}